/*
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2024-12-04 11:49:16
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2025-09-15 13:33:38
 * @FilePath: \project-my\learn-nest\src\app.controller.ts
 * @Description:
 */
import { Controller, Get } from '@nestjs/common'
import { AppService } from './app.service'

@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}

  @Get()
  getHello(): string {
    return this.appService.getHello()
  }

  @Get('user')
  getUserHello(): string {
    return this.appService.getUser()
  }
}
